package jnpf.fico.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 账单费用详情
 *
 * @版本： V3.2.0
 * @版权： 智果云科技（https://www.jnpfsoft.com）
 * @作者： JNPF开发平台组
 * @日期： 2024-10-22
 */
@Data
@TableName("zcgl_cw_bill_item")
public class ZcBillItemEntity {

    public static final Integer STATUS_1 = 1;//待收款

    /**
     * 主键
     */
    @TableId("F_ID")
    private String id;

    /**
     * 账单表ID
     */
    @TableField("F_PARENTID")
    private String parentid;

    /**
     * 费用项
     */
    @TableField("EXPENSE_ITEM")
    private String expenseItem;

    /**
     * 周期类型
     */
    @TableField("CYCLE_TYPE")
    private String cycleType;

    /**
     * 周期单价
     */
    @TableField("CYCLE_PRICE")
    private String cyclePrice;

    /**
     * 应收(本)金额
     */
    @TableField("RECEIVE_AMOUNT")
    private BigDecimal receiveAmount;

    /**
     * 实收(本)金额
     */
    @TableField("REAL_AMOUNT")
    private BigDecimal realAmount;

    /**
     * 待收(本)金额
     */
    @TableField("PEND_AMOUNT")
    private BigDecimal pendAmount;

    /**
     * 已收(本)金额
     */
    @TableField("RECEIVED_AMOUNT")
    private BigDecimal receivedAmount;

    /**
     * 减免金额
     */
    @TableField("REDUCE_AMOUNT")
    private BigDecimal reduceAmount;

    /**
     * 结转抵扣
     */
    @TableField("OVER_AMOUNT")
    private BigDecimal overAmount;

    /**
     * 应退金额
     */
    @TableField("PLAN_REFUND_AMOUNT")
    private BigDecimal planRefundAmount;

    /**
     * 待退金额
     */
    @TableField("PEND_REFUND_AMOUNT")
    private BigDecimal pendRefundAmount;

    /**
     * 已退金额
     */
    @TableField("REFUND_AMOUNT")
    private BigDecimal refundAmount;

    /**
     * 应收滞纳金
     */
    @TableField("RECEIVE_OVERDUE_AMOUNT")
    private BigDecimal receiveOverdueAmount;

    /**
     * 已收滞纳金
     */
    @TableField("REAL_OVERDUE_AMOUNT")
    private BigDecimal realOverdueAmount;

    /**
     * 减免滞纳金
     */
    @TableField("REDUCE_OVERDUE_AMOUNT")
    private BigDecimal reduceOverdueAmount;

    /**
     * 待收滞纳金
     */
    @TableField("PEND_OVERDUE_AMOUNT")
    private BigDecimal pendOverdueAmount;

    /**
     * 票据
     */
    @TableField("TICKET")
    private String ticket;

    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;

    /**
     * 创建用户
     */
    @TableField("F_CREATORUSERID")
    private String creatoruserid;

    /**
     * 创建时间
     */
    @TableField("F_CREATORTIME")
    private Date creatortime;

    /**
     * 修改用户
     */
    @TableField("F_LASTMODIFYUSERID")
    private String lastmodifyuserid;

    /**
     * 修改时间
     */
    @TableField("F_LASTMODIFYTIME")
    private Date lastmodifytime;

    /**
     * 付款时间
     */
    @TableField("PAYMENT_TIME")
    private Date paymentTime;



    @TableField(exist = false)
    private Date startTime;

    @TableField(exist = false)
    private Date endTime;
}
